App Extensibility: Display G/L Account Line Items

 

You can extend the Display G/L Account Line Items app according to your business needs for different aspects. For this purpose, the following extensibility options are available:

  • For key users and developers

    Key users can extend the app in the Custom Fields and Logic app using the following business contexts:

    • Journal Entry Item

    • Coding Block

      In the Custom Fields and Logic app, key users or developers can create new fields for the above mentioned business contexts and after creation have to enable and publish any newly created field for the respective OData service and the view. They do this in the UIs and Reports section of the Custom Fields and Logic app. Depending on the field, they either use the Journal Entry Item business context or the Coding Block business context.

      For more information about how to do that in the Custom Fields and Logic app, see Start of the navigation path http://help.sap.com/s4hanaInformation published on SAP site Next navigation step <Your SAP S/4HANA release> Next navigation step SAP NetWeaver for SAP S/4HANA Next navigation step General Functions for Key Users Next navigation step Extensibility Next navigation step Custom Fields and Logic End of the navigation path.

  • For developers

    Additionally developers can plug in and execute custom code (JavaScript) by using a UI controller hook.

For Key Users and Developers

You can add fields to the Display G/L Account Line Items app using UI adaptions at runtime:

UI Element

Business Context

Smart Filter Bar

  • Journal Entry Item (FINS_JOURNAL_ENTRY_ITEM)

  • Coding Block

    (FINS_CODING_BLOCK)

Smart Table

  • Journal Entry Item (FINS_JOURNAL_ENTRY_ITEM)

  • Coding Block

    (FINS_CODING_BLOCK)

For more information about how to adapt an SAP Fiori UI at runtime, see Start of the navigation path http://help.sap.com/nw75Information published on SAP site Next navigation step Application Help Next navigation step UI Technologies in SAP NetWeaver with SAP_UI 750 Next navigation step SAP Fiori Launchpad Next navigation step Using the Launchpad Next navigation step Running an SAP Fiori App Next navigation step Adapting the UI of an SAP Fiori App at Runtime Next navigation step Making UI Adaptations End of the navigation path.

Further Extensibility Entities

UI Controller Hooks

To plug in and execute custom code to display default values for specific fields, for example, the following hook is available in the controller code:

Controller

Hook

Use

fin.gl.lineitembrowser.display.view.S1

sap.ca.scfld.md.controller.BaseFullscreenController~extHookOnInit

Allows you to define your own actions for fields, where you cannot or do not want to use variants, but want to display default values for all users, for example you always want to show as status Open Items and want to supress all other status for the line items.

If there are additional UI controller hooks available in the controller code, you can extend the UI controller code. For more information about UI controller hooks, see section Extensibility in the S/4HANA UI Technology guide.

More Information

For a general description of the extensibility options and procedures of Fiori apps, see section Extensibility in the S/4HANA UI Technology guide.